<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>58链车-二手车交易市场</title>
<meta name="description" content="买卖二手车,急卖二手车,省心二手车,性价比高二手车,专业二手车,58链车网!" />
<link rel="stylesheet" href="/Public/Home/css/reset.css">
<link rel="stylesheet" href="/Public/Home/css/common.css">
<link rel="stylesheet" href="/Public/Home/css/swiper-2.7.6.css">
<link rel="stylesheet" href="/Public/Home/css/index.css">
<script src="/Public/Home/js/jquery-1.12.4.min.js"></script>
<script src="/Public/Home/js/common.js"></script>
<script src="/Public/Home/js/swiper-2.7.6.min.js"></script>
<script src="/Public/Home/js/index.js"></script>
<!--[if IE 8]>
<script>
$(document).ready(function () {
	$(".list li:nth-child(4n)").css("margin-right", "0");
});
</script>
<![endif]-->
</head>
<body>
<!-- header start -->
	<include file="Public/header" />
<!-- header end -->

<script type="text/javascript">

//推荐
$(function(){
	for(var i=0;i<document.cookie.split(";").length;i++)
	{
		if(document.cookie.split(";")[i].split("=")[0]=='price')
		{
		   var p=document.cookie.split(";")[i].split("=")[1];
		}
	}
	var star =parseFloat(p)-(parseFloat(p)*0.5);
	var end =parseFloat(p)+(parseFloat(p)*0.5);
	if(!star){star=0}
	if(!end){end=100}
	$.ajax({
	    url: "/home/index/get_car_list?pa=0&ma=8&or=d&pr=" + star + "-" + end + "&pl={$Think.session.mycity}&ci={$Think.session.citype}&show=index",
			type:"get",
			dataType:'html',
			success:function(res){
			    $('#like').append(res);
			}
	   })
  
});
//新车
$(function () {
    $.ajax({
        url: "/home/index/get_car_list?pa=0&ma=8&or=n&pl={$Think.session.mycity}&ci={$Think.session.citype}&show=index",
        type: "get",
        dataType: 'html',
        success: function (res) {
			$('#news').append(res);
        }
    }) 
});
//准新车
$(function () {
    $.ajax({
        url: "/home/index/get_car_list?pa=0&ma=8&or=d&tag=准新车&pl={$Think.session.mycity}&ci={$Think.session.citype}&show=index",
        type: "get",
        dataType: 'html',
        success: function (res) {
			$('#newcar').append(res);
        }
    })

});

//练手车
$(function () {
    $.ajax({
        url: "/home/index/get_car_list?pa=0&ma=8&or=pa&tag=练手车&pl={$Think.session.mycity}&ci={$Think.session.citype}&show=index",
        type: "get",
        dataType: 'html',
        success: function (res) {
			$('#wago').append(res);
        }
    })
});
//suv
$(function () {
    $.ajax({
        url: "/home/index/get_car_list?pa=0&ma=8&or=d&mo=suv&pl={$Think.session.mycity}&ci={$Think.session.citype}&show=index",
        type: "get",
        dataType: 'html',
        success: function (res) {
			$('#suv').append(res);
        }
    })
});

//急售
$(function () {
    $.ajax({
        url: "/home/index/get_car_list?pa=0&ma=8&or=d&wat=1&pl={$Think.session.mycity}&ci={$Think.session.citype}&show=index",
        type: "get",
        dataType: 'html',
        success: function (res) {
            $('#cutprice').append(res);
        }
    })

});
function getRedirectUrl(p)
{
    window.location.href = '/home/index/get_car_list?pa=0&ma=40&ci={$Think.session.citype}&pl={$Think.session.mycity}' + p;
}
</script>
<style type="text/css">
	.pinpai{
		padding: 5px 5px;
	}
	.subnav-brand-wrap{font-size: left;}
</style>
<!-- subnav and banner start -->
<div class="wrap clearfix">
	<div class="subnav">
		<p class="subnav-text">我要买车</p>
		<div class="subnav-brand">
			<p class="subnav-title">品牌</p>
			<div class="subnav-hot-brand clearfix" id="hotbrand">
			</div>
			<div class="subnav-brand-select">
				<p class="subnav-brand-select-title">所有品牌</p>
				<volist name="pinpai" id="v">
					<p class="subnav-brand-index">{$key}</p>
					<div class="subnav-brand-wrap clearfix" id="{$key}">
						<volist name="v" id="p">
							<a class="pinpai" href="javascript:getRedirectUrl('&br={$p}')">{$p}</a>
						</volist>
					</div>
					<div class="clearfix"></div>
				</volist>
			</div>
		</div>

		<p class="subnav-title">价格</p>
		<div class="subnav-hot-price clearfix">
			<a href="javascript:getRedirectUrl('&pr=0-3')" name="0-3">3万以下</a>
			<a href="javascript:getRedirectUrl('&pr=3-5')" name="3-5">3-5万</a>
			<a href="javascript:getRedirectUrl('&pr=5-10')" name="5-10">5-10万</a>
			<a href="javascript:getRedirectUrl('&pr=10-15')">10-15万</a>
			<a href="javascript:getRedirectUrl('&pr=15-20')">15-20万</a>
			<a href="javascript:getRedirectUrl('&pr=20-30')">20-30万</a>
			<a href="javascript:getRedirectUrl('&pr=30-60')">30-60万</a>
			<a href="javascript:getRedirectUrl('&pr=>60')">60万以上</a>
		</div>

		<p class="subnav-title">车型</p>
		<div class="subnav-hot-class clearfix">
			<a class="suv" href="javascript:getRedirectUrl('&mo=SUV')">SUV</a>
			<a class="mvp" href="javascript:getRedirectUrl('&mo=MPV')">MPV</a>
			<a class="roadster" href="javascript:getRedirectUrl('&mo=跑车')">跑车</a>
			<a class="sedan" href="javascript:getRedirectUrl('&mo=轿车')">轿车</a>
		</div>
	</div>

	<div class="banner">
		<div id="banner-slide" class="banner-slide swiper-container">
			<div class="swiper-wrapper">
			<volist name="banner" id="v"  key="k">
				<div class="swiper-slide"><a href="{$v.url}" target="_blank"><img src="{$v.img_url}"></a></div>
			</volist>
			</div>
			<div id="swiper-pagination" class="swiper-pagination"></div>
		</div>
	</div>
</div>
<!-- subnav and banner end -->

<!-- introduce start -->
<ul class="intro clearfix">
	<li class="intro1">专业陪同过户，100%放心，更省心！</li>
	<li class="intro2">259项全面检测，行业标准，更可靠！</li>
	<li class="intro4">成功购车尊享超值大礼，为了一个口碑！</li>
</ul>
<!-- introduce end -->

<div class="hot">
	<p class="hot-title">热门好车</p>
	<ul id="index-tag" class="hot-tag clearfix">
		<li class="cur">为您推荐</li>
		<li>最新上架</li>
		<li>降价急售</li>
		<li>准新车</li>
		<li>练手车</li>
		<li>SUV</li>
	</ul>
	<a class="hot-all" href="/home/index/get_car_list?pa=0&ma=40&or=d&ci={$Think.session.citype}&pl={$Think.session.mycity}">查看全部&gt;&gt;</a>
</div>
<ul class="list clearfix cur" id="like">

</ul>
<ul class="list clearfix" id="news">
	
</ul>
<ul class="list clearfix" id="cutprice">
	
</ul>
<ul class="list clearfix" id="newcar">
	
</ul>
<ul class="list clearfix" id="wago">
	
</ul>
<ul class="list clearfix" id="suv">
	
</ul>
<a style="cursor:hand" href="javascript:tagRedirect('{$Think.session.citype}','{$Think.session.mycity}')"><button class="hot-more">更多<span id="hot-more" >为您推荐</span></button></a>

<!-- footer start -->
	<include file="Public/footer" />
<!-- footer end -->

<!-- sidebar start -->
<div class="sidebar">
	<div id="sidebar-phone" class="sidebar-phone sidebar-switch sidebar-close">
		<p id="sidebar-phone-error"></p>
		<input id="sidebar-phone-input" type="text" placeholder="填写手机号，座机加区号">
		<button id="sidebar-phone-btn">免费通话</button>
		<span class="sidebar-triangle green"></span>
	</div>
	<div id="sidebar-qrcode-app" class="sidebar-qrcode app sidebar-switch sidebar-close">
		<img src="/Public/Home/images/qrcode-wx.png">
		<div class="sidebar-triangle green"></div>
		<div class="sidebar-triangle white"></div>
	</div>
	<div id="sidebar-qrcode-wx" class="sidebar-qrcode wx sidebar-switch sidebar-close">
		<img src="/Public/Home/images/qrcode-wx.png">
		<div class="sidebar-triangle green"></div>
		<div class="sidebar-triangle white"></div>
	</div>
	<button id="sidebar-btn-close" class="sidebar-btn close"></button>
    <button id="sidebar-btn-phone" class="sidebar-btn phone sidebar-close">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;免费通话</button>
	<button id="sidebar-btn-app" class="sidebar-btn app sidebar-close">APP</button>
	<button id="sidebar-btn-wx" class="sidebar-btn wx sidebar-close">公众号</button>
	<button id="sidebar-btn-top" class="sidebar-btn top"></button>
</div>
<!-- sidebar end -->

<!-- feedback start -->
<div id="feedback" class="popup-cover">
	<div class="popup-wrap feedback-wrap">
		<div class="popup-main">
			<div class="popup-header clearfix">
				<p>意见反馈</p>
				<button id="feedback-close"></button>
			</div>
			<div class="feedback-body">
				<p class="feedback-title">感谢您的意见，我们会真诚对待！</p>
				<textarea id="feedback-content" class="feedback-textarea feedback-content" placeholder="您使用我们的产品过程中，有任何问题和意见，在这里可以畅所欲言，我们将据此优化我们的产品，为您提供更好的服务。"></textarea>
				<textarea id="feedback-contact" class="feedback-textarea feedback-contact" placeholder="如果您愿意，留下联系方式（邮箱、电话、QQ都行），我们将尽快回复您。"></textarea>
				<p id="feedback-error" class="feedback-error"></p>
				<button id="feedback-submit" class="feedback-submit">我要反馈</button>
			</div>
		</div>
	</div>
</div>
<!-- feedback end -->
</body>
</html>